/*
 * movie.h
 *
 *  Created on: Feb 22, 2016
 *      Author: ezhaome
 */

#ifndef MOVIE_H_
#define MOVIE_H_

#include <string>
#include "price.h"

using namespace std;
class Price;


class Movie{
	public:
		static const int REGULAR = 0;
		static const int CHILDREN = 1;
		static const int NEW_RELEASE = 2;

		Movie();
		Movie(string title, int priceCode);

		void setPriceCode(int priceCode);
		int getPriceCode();
		string getTitle();
		double getCharge(int daysRented);
		int getFrequentPoints(int daysRented);

	private:
		string _title;
		Price* _price;
};



#endif /* MOVIE_H_ */
